<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-08
  Time: 0:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="product_Info">
        <div class="product_Info_title"><b>${product.name}</b></div>
        <div class="product_Info_smallTitle">
            <c:forEach items="${fn:split(product.subTitle,' ')}" var="title" varStatus="st">
                <span>${title}</span>
            </c:forEach>
        </div>
        <div class="product_Info_paying">
            <span class="paying_title">聚划算</span>
            <span>此商品即将参加聚划算，</span>
            <span class="paying_time">${product.goodTime}</span>
            <span>后开始</span>
        </div>
        <div class="product_Info_price">
            <p class="product_Info_coupon">
                <img src="img/site/gouwujuan.png" alt="" width="58px" height="16px">
                <span>全天猫实物商品通用</span>
            </p>
            <p class="product_Info_price1">
                <span class="price1_title">价格</span>
                <span class="price1_price">￥
                <fmt:formatNumber type="number" minFractionDigits="2" value="${product.orignalPrice}"/>
            </span>
            </p>
            <p class="product_Info_price2">
                <span class="price2_title">促销价</span>
                <span class="price2_price">￥
                <fmt:formatNumber type="number" minFractionDigits="2" value="${product.promotePrice}"/>
            </span>
            </p>
        </div>
        <div class="product_Info_saleAndAssign">
            <span class="product_Info_sale">
              <span class="product_Info_saleTitle">销量</span>
              <span class="product_Info_saleNum">${product.saleCount}</span>
            </span>
            <span class="product_Info_assign">
                <span class="product_Info_assignTitle">累计评价</span>
                <span class="product_Info_assignNum">${product.reviewCount}</span>
             </span>
        </div>
        <div class="product_Info_numberAndStock">
            <span>数量</span>
            <span class="product_Info_number1" id="number">
            <input type="text" value="1"  class="my_number">
            <input type="hidden" value="${product.id}"  class="my_pid">
        </span>
            <span>
                    <a href="#no"><span class="product_Info_number2 " id="numberUp"> <img src="img/site/increase.png"
                                                                                          alt=""></span></a>
                    <a href="#no"> <span class="product_Info_number2" id="numberDown"> <img src="img/site/decrease.png"
                                                                                            alt=""></span></a>
            </span>
            <span>件 库存</span>
            <span class="product_Info_stock" id="maxNumber">${product.stock}</span>
            <span>件</span>
        </div>
        <div class="product_Info_acceptance">
            <span>服务承诺</span>
            <a href="">正品保证</a>
            <a href="">极速退款</a>
            <a href="">赠运费险</a>
            <a href="">七天无理由退换</a>
        </div>
        <div class="product_Info_buyAndShop">
            <span class="product_Info_buy"> <a href="forebuyOne?pid=${product.id}" >
                <span>立即购买</span>
            </a></span>
           <span class="product_Info_shop" pid="${product.id}">
                <a href="foreaddCart" style="color: white" >
                       <span class="glyphicon glyphicon-shopping-cart" style="color: white"></span>
                        加入购物车
            </a>
           </span>

        </div>
</div>
